package com.syh.jn.scm.domain.supplier.repository.base.goods;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.supplier.entity.base.goods.GoodsCategory;

public interface GoodsCategoryRepository extends GoodsCategoryReadRepository, AggregateRepository<GoodsCategory, Long> {

    /**
     * 根据ID查看是否有子类
     * @param id
     * @return
     */
    public boolean haveSubCates(Long id);

}
